POV-Ray : Newsgroups : povray.binaries.images : Patterned light sources - PatternLights.JPG (1/1) : Patterned light sources - PatternLights.JPG (1/1) Server Time
3 Oct 2024 02:18:27 EDT (-0400)
  Patterned light sources - PatternLights.JPG (1/1)  
From: Chris Huff
Date: 26 Feb 2000 19:32:18
Message: <chrishuff_99-A21D37.19332226022000@news.povray.org>
I finally got around to implementing patterned light sources, here are 
the first results. The patch isn't quite finished yet, see my post in 
.unofficial.patches for details. Here is the code for these two light 
sources:
light_source {< -8, 5,-3>*2,
    pigment {onion
        color_map {
            [0 color Red]
            [0.5 color Green]
            [1 color Blue]
        }
        translate < -5, 0.5,-3>*2
    }
    color Yellow
    map_type 0
}
light_source {< 2, 5,-5>*2,
    pigment {onion
        color_map {
            [0 color Red]
            [0.5 color Green]
            [1 color Blue]
        }
        translate < 2, 5,-5>*2
    }
    color Yellow
    map_type 0
}

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message


Attachments:
Download 'PatternLights.JPG' (41 KB)

Preview of image 'PatternLights.JPG'
PatternLights.JPG


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.